<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" readonly="true" type="text" value="{$info.name|htmlentities}">
        </div>
    </div>

    <input  type="hidden" name="ids" value="{$info.id}">

<!--    :1=合作客户,2=待合作客户,3=掉客-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('ctypes')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="ctypes" class="form-control" id="">
                <option value="1"  {if condition="$info['ctypes'] == 1" }selected{/if} >合作客户</option>
                <option value="2" {if condition="$info['ctypes'] == 2" }selected{/if}>待合作客户</option>
                <option value="3" {if condition="$info['ctypes'] == 3" }selected{/if}>掉客</option>
            </select>
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed ">{:__('OK')}</button>
        </div>
    </div>
</form>
